package com.personal.mapper;

import com.personal.pojo.TAdmin;
import com.personal.pojo.TAdminExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TAdminMapper {
    int countByExample(TAdminExample example);

    int deleteByExample(TAdminExample example);

    int deleteByPrimaryKey(Integer adminid);

    int insert(TAdmin record);

    int insertSelective(TAdmin record);

    List<TAdmin> selectByExample(TAdminExample example);

    TAdmin selectByPrimaryKey(Integer adminid);

    int updateByExampleSelective(@Param("record") TAdmin record, @Param("example") TAdminExample example);

    int updateByExample(@Param("record") TAdmin record, @Param("example") TAdminExample example);

    int updateByPrimaryKeySelective(TAdmin record);

    int updateByPrimaryKey(TAdmin record);
    //1.管理员登录方法
    TAdmin selectByNamePass(@Param("logname")String logname,@Param("password")String password);
    //2.会员管理模块
    //3.教练管理模块
    //4.教室管理模块
    //5.课程管理模块
    //6.报名信息管理模块
    //7.器材管理模块
}